 //to reset element-ui default css
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}


.el-form-item__label {
  color: #222;
}
//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}
/* 全局修改el-table 表头和内容颜色 header color content color */
.el-table th {
  background: #f8f8f9 !important;
  .cell{
    font-weight: 400;
    color: #222 !important;
  }
}

.switchStyle .el-switch__label {
  position: absolute;
  display: none;
  color: #fff;
}
.el-switch__core{
  background-color: rgba(166, 166, 166, 1) ;
}
.switchStyle .el-switch__label--left {
  z-index: 9;
  left: 20px;
}
.switchStyle .el-switch__label--right {
  z-index: 9;
  left: 4px;
}
.switchStyle .el-switch__label.is-active {
  display: block;
}
.switchStyle.el-switch .el-switch__core,
.el-switch .el-switch__label {
  width: 50px !important;
}
 /deep/ .el-table{
   width:99.9% !important; //不让它到临界值，这样可避免自动计算
 }
 #app .sidebar-container a {
  text-align: left;
 }